import request from '@/utils/request'
export function fetchListAll() {
  return request({
    url:'/source/listAll',
    method:'get',
  })
}
export function get(params) {
  return request({
    url:'/source/get',
    method:'get',
    params:params
  })
}

export function fetchList(params) {
  return request({
    url:'/source/list',
    method:'get',
    params:params
  })
}
export function update(params) {
  return request({
    url:'/source/update',
    method:'post',
    params:params
  })
}

export function add(params) {
  return request({
    url:'/source/add',
    method:'post',
    params:params
  })
}
export function deletes(params) {
  return request({
    url:'/source/delete',
    method:'delete',
    params:params
  })
}